package com.service;

import com.pojo.Auth;
import com.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lxw
 * @create 2017-08-17 14:26
 **/
@Service
public interface UserService {
    boolean addUser(User user);

    boolean delUserById(Integer userId);

    boolean updateUser(User user);

    User findUserById(Integer userId);

    List<User> findAllUser();

    User findUserByName(String userName);

    List<User> findUrl(String userName);

    List<User> findAllUrl();
}
